import React, { Component } from 'react'
import { connect } from 'umi'

const Detail = (props: any) => {
  const {book: { opt }} = props;
  console.log('data:.......:', opt)
  return <div>32323

    {opt.page} {opt.size}
  </div>
}

export default connect(state => {
  return {...state}
})(Detail);